#coding=utf-8
__author__ = 'czq'
#class GroupExtcredits(models.Model):
#    group=models.OneToOneField(GroupProfile)
#    extcreditsMin=models.IntegerField(u'积分下限',help_text=u'所属该用户组用户的最低积分数')
#    extcreditsMax=models.IntegerField(u'积分上限',help_text=u'所属该用户组用户的最高积分数')
#    def __unicode__(self):
#        return self.group.group.name
#    class Meta:
#        verbose_name = '积分用户组设置'
#        verbose_name_plural = '积分用户组设置'

#class GroupExtcredits(models.Model,GroupBase):
#
#    extcreditsMin=models.IntegerField(u'积分下限',help_text=u'所属该用户组用户的最低积分数')
#    extcreditsMax=models.IntegerField(u'积分上限',help_text=u'所属该用户组用户的最高积分数')
#
#    def __unicode__(self):
#        return self.name
#    class Meta:
#        verbose_name = '积分用户组'
#        verbose_name_plural = '积分用户组'
#
#class GroupSystem(models.Model,GroupBase):
#    #name=models.CharField(u'名称',max_length=10)
#    perm=models.ManyToManyField(Permission)
#
#    def __unicode__(self):
#        return self.name
#    class Meta:
#        verbose_name = '系统用户组'
#        verbose_name_plural = '系统用户组'

#class GroupProfile(models.Model):
#    group=models.OneToOneField(Group)
#    remark=models.CharField(u'说明',max_length=200,null=True,null=True)
#    imgUrl=models.URLField(u'图标链接',max_length=50,null=True,null=True)
#    def __unicode__(self):
#        return self.group.username
#    class Meta:
#        verbose_name = '组'
#        verbose_name_plural = '组'
# class Users(models.Model):
#     #userid=models.IntegerField()
#     userName = models.CharField(max_length=30)
#     password = models.CharField(max_length=40)
#     email = models.EmailField(blank=True,null=True )
#     realName= models.CharField(max_length=40,blank=True,null=True )
#     registTime=models.DateTimeField(blank=True,null=True )